WinWaitActive("[CLASS:Chrome_WidgetWin_1]")
;WinWait("Chrome_WidgetWin_1", "", 10) ;
; Send the keyboard shortcut to focus the address bar
Send("^l")
; Wait for a short moment to ensure the address bar is focused
Sleep(500)
; Send the JavaScript code to the address bar
Send("javascript:document.querySelector("alert(1)")
;#app > div > div.app_content > div:nth-child(4) > micro-app').shadowRoot.querySelector('#props-editor > div:nth-child(1) > div.default_box.default-box_reset-bottom.goods_basic > div.box_content > div > form > div.goods_upload > div.weui-desktop-form__control-group > div > div.weui-desktop-new-upload__wrp > div > div > div> div').click()
; Press Enter to execute the code
Send("{ENTER}")